-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quote slash (/) as a key separator when communicating with augeas #79
base: master
Are you sure you want to change the base?
Conversation
I am not sure what to do about the |
@johnwarburton ignore the archlinux job for now, we need to fix that in our CI. Are you able to add tests for this change? |
Hi @bastelfreak - sure I am not sure what image you are using for CI, but the How can we ensure we are testing with a 1.14 lens? I've force installed http://ftp.au.debian.org/debian/pool/main/a/augeas/augeas-lenses_1.14.0-1_all.deb to test. I am reluctant to submit the tests in this PR if they fail immediately due to the old lens being present UPDATE - nope I looked at the So, yeah, I could go down the patch of creating a |
Hi @bastelfreak I have dug in and tried to write tests for this particular PR, but have come to the conclusion, that like the PR, all the tests need to be rewritten to cater for a I am really in the weeds here and really do not know what I am doing nor how to progress. If we start with a vanilla copy of this PR and add a single change - a valid
And we can see in the "Actual" results that the tests have parsed and split the Now, I know that
Also its not the augeas ruby bindings - I munged a file from
|
Pull Request (PR) description
Quote sysctl keys with a slash in them
This Pull Request (PR) fixes the following issues
Partially fixes #17 by quoting slashes in keys (such as VLANs) when communicating with augeas
This requires augeas 1.14.x with patch to sysctl lens, that supports more non-alphanumeric characters such as a slash. Have tested by directly copying ne wlens to
/opt/puppetlabs/puppet/share/augeas/lenses/dist/sysctl.aug
of puppet agent 7.25A new puppet agent with augeas 1.14.x needs to be advocated
Note that the changes provided here are probably not optimal and possibly break with comments, but its at the limit of my current provider knowledge